package main

func main() {
	var head = new(Node)
	head.data = 0
	var tail *Node
	tail = head
	for i := 1; i < 10; i++ {
		var node = Node{data:i}
		(*tail).next = &node
		tail = &node
	}
	showNode(head)
}